xen/mem_event: Cleanup of mem_event structures
authorTamas K Lengyel <tamas.lengyel@zentific.com>
Thu, 26 Mar 2015 21:06:53 +0000 (22:06 +0100)
committerTim Deegan <tim@xen.org>
Thu, 9 Apr 2015 10:39:57 +0000 (11:39 +0100)
commitf7c41477735b5b8a1f8ebabfcb1c44afb53c88da
tree0d78c06312fe48ff1ea5d5b893de7e153eb95923
parentb6e7fbadbda449b600bfad3ded16ea371a00ca13
xen/mem_event: Cleanup of mem_event structures

The public mem_event structures used to communicate with helper applications via
shared rings have been used in different settings. However, the variable names
within this structure have not reflected this fact, resulting in the reuse of
variables to mean different things under different scenarios.

This patch remedies the issue by clearly defining the structure members based on
the actual context within which the structure is used.

Signed-off-by: Razvan Cojocaru <rcojocaru@bitdefender.com>
Signed-off-by: Tamas K Lengyel <tamas.lengyel@zentific.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Tim Deegan <tim@xen.org>
Acked-by: Jan Beulich <jbeulich@suse.com>
tools/tests/xen-access/xen-access.c
tools/xenpaging/xenpaging.c
xen/arch/x86/hvm/hvm.c
xen/arch/x86/mm/mem_sharing.c
xen/arch/x86/mm/p2m.c
xen/common/mem_access.c
xen/common/mem_event.c
xen/include/public/mem_event.h